﻿
namespace CtefCrmImport.Common.Models
{
    public class Address
    {
        public string AddressLine1 { get; set; }
        public string AddressLine2 { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Zip { get; set; }

        public static bool IsFilled(Address address)
        {
            return address != null &&
                !string.IsNullOrWhiteSpace(address.AddressLine1 + address.AddressLine2 + address.City + address.State + address.Zip);
        }
    }
}
